package edu.hit.pact.pgse.client.database;

/**
 * Source entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Source implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 3290155345087101189L;
	private int sourceid;
	private String homepage;
	private String domain;
	private int depth;
	private int pagenumber;
	private int category;
	private String belongto;
	private String channel;
	private String place;
	private int priority;

	// Constructors

	/** default constructor */
	public Source() {
	}

	/** minimal constructor */
	public Source(String homepage, int depth, int pagenumber,
			int category) {
		this.homepage = homepage;
		this.depth = depth;
		this.pagenumber = pagenumber;
		this.category = category;
	}

	/** full constructor */
	public Source(String homepage, String domain, int depth,
			int pagenumber, int category, String belongto,
			String channel, String place, int priority) {
		this.homepage = homepage;
		this.domain = domain;
		this.depth = depth;
		this.pagenumber = pagenumber;
		this.category = category;
		this.belongto = belongto;
		this.channel = channel;
		this.place = place;
		this.priority = priority;
	}

	// Property accessors

	public int getSourceid() {
		return this.sourceid;
	}

	public void setSourceid(int sourceid) {
		this.sourceid = sourceid;
	}

	public String getHomepage() {
		return this.homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	public String getDomain() {
		return this.domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public int getDepth() {
		return this.depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}

	public int getPagenumber() {
		return this.pagenumber;
	}

	public void setPagenumber(int pagenumber) {
		this.pagenumber = pagenumber;
	}

	public int getCategory() {
		return this.category;
	}

	public void setCategory(int category) {
		this.category = category;
	}

	public String getBelongto() {
		return this.belongto;
	}

	public void setBelongto(String belongto) {
		this.belongto = belongto;
	}

	public String getChannel() {
		return this.channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public int getPriority() {
		return this.priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

}